﻿namespace SeaBattle.Domain.Entities
{
    public class Player
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="Player"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="login">The login.</param>
        /// <remarks></remarks>
        public Player(string name, string login, string password)
        {
            Login = login;
            Name = name;
            Password = password;
        }

        /// <summary>
        /// Gets the name.
        /// </summary>
        /// <remarks></remarks>
        public string Name { get; private set; }

        //TODO: player login must be moved from here
        public string Login { get; private set; }

        public string Password { get; set; }
    }
}
